package com.lzp.utils.enums;

/**
 * 是否--枚举
 *
 * @author dtyy
 * @date 2020/8/2
 */
public enum Yes0rNo {
    NO(0, "否"),
    YES(1, "是");

    private final Integer code;

    private final String desc;

    Yes0rNo(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

}
